﻿package Message.Game
{
    import Framework.Serialize.*;
    import Message.Public.*;

    public class STaskReward extends Object
    {
        public var reward:SReward;
        public var levelMin:int;
        public var levelMax:int;
        public var career:int;

        public function STaskReward()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.reward.__write(param1);
            param1.writeInt(this.levelMin);
            param1.writeInt(this.levelMax);
            param1.writeInt(this.career);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.reward = new SReward();
            this.reward.__read(param1);
            this.levelMin = param1.readInt();
            this.levelMax = param1.readInt();
            this.career = param1.readInt();
            return;
        }// end function

    }
}
